/**
 * @author PerronJones
 */

var tiles = [];
$(document).ready(function(){
	
});

function testClick()
{
	console.log("Click Successful!");
	
	tilesPromise = readAllTiles();
	
	tilesPromise.success(function(data){
		console.log("DecorTrends.js")
		console.log(data);
	});
	
}

function testClick2()
{
	
	console.log("Click Successful!");
	
	tilesPromise = readTile(2);
	
	tilesPromise.success(function(data){
		console.log("DecorTrends.js")
		tiles = data;
		console.log(data);
	});
	
	console.log("Name: " + tiles[0].Name);
	
}

